package singleLinkedList;

public class Test {

	public static void main(String[] args) {
		SingleLinkedList singleLinkedList = new SingleLinkedList();
		singleLinkedList.add("1");
		singleLinkedList.add("2");
		singleLinkedList.add("3");
		singleLinkedList.add("4");
		singleLinkedList.print();
		singleLinkedList.reverse_while();
		singleLinkedList.print();
	}
}
